length

abstract fun length(): Int

Returns the number of key/value pairs in the storage.

Throws

when the frame is closed

if the access to the storage is forbidden for the current document